﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	AuthorizationError
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Authorization Error</h2>
    <p>
      <% if ( User.Identity.IsAuthenticated )
         { %>
            To submit or change a session, first please 
            <%= Html.ActionLink( "create a presenter profile", "Add", "Presenters" )%>.
      <% }
         else
         { %>
            To submit or change a session, first please
            <%= Html.ActionLink( "login", "LogOn", "Account" ) %> or
            <%= Html.ActionLink( "register", "Register", "Account" ) %> with the Portland Code Camp website.
      <% } %>
    </p>
</asp:Content>
